<template>
    <div class="color-blue underline font-center" 
        :style="height?'height:'+height+'px':width?'width:'+width+'px':''"
    >
        {{href}}
    </div>
</template>

<script>
import system from '../server/system'

export default{
    name:"",

    props:{
        href:String,
        height:String,
        width:String,
    },

    methods:{
        tohref(url){
            if(url){
                system.openUrl(url)
            }else if(this.href){
                system.openUrl(this.href)
            }else {
                system.openUrl("about:black");
            }
        }
    }
}
</script>

<style scoped>

</style>